<?php
/**
 * ============================================================================
 * Copyright (c) 2015-2018 贵州大师兄信息技术有限公司 All rights reserved.
 * siteַ: http://www.dsxcms.com
 * ============================================================================
 * @author:     David Song<songdewei@163.com>
 * @version:    v1.0.0
 * ---------------------------------------------
 * Date: 2018/10/26
 * Time: 10:13 AM
 */

namespace App\WeChat;


use EasyWeChat\Factory;

trait WechatDefaultConfig
{

    public function officialAccount()
    {
        return Factory::officialAccount(config('wechat.official_account.default'));
    }

    public function payment()
    {
        return Factory::payment(config('wechat.payment.default'));
    }
}
